Skip to content

Version Packages - #227

Merged
alitariksahin merged 1 commit into
mainfrom
changeset-release/main
Aug 24, 2026
Merged

Version Packages#227
alitariksahin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@upstash/box-pi@0.1.7

Patch Changes

  • Updated dependencies [b840209]
  • Updated dependencies [cc370f8]
    • @upstash/box@0.7.1

@upstash/box-cli@0.2.20

Patch Changes

  • Updated dependencies [b840209]
  • Updated dependencies [cc370f8]
    • @upstash/box@0.7.1

@upstash/box@0.7.1

Patch Changes

  • b840209: Add box.exec.session() — a live, interactive command session over a WebSocket.

    Unlike exec.command / exec.stream, which run a command and hand back its
    result, a session returns a handle to a running process:

    • argv runs a program directly (no shell); cmd runs one via bash -lc.
    • write() sends stdin, endStdin() closes it so a command reading to EOF can
      finish, and onStdout / onStderr receive output as it arrives (separate
      streams unless tty is set).
    • tty allocates a real PTY sized by rows/cols, with resize() for later
      changes — enough for interactive programs and terminal UIs.
    • kill(signal) sends an allowlisted signal; terminate(graceMs) asks the
      server for SIGTERM then SIGKILL after the grace.
    • wait() resolves with the exit code; close() hangs up, which also stops the
      process.

    Node-only: authentication uses a request header, which browsers cannot set on a
    WebSocket handshake. ws moves from a dev dependency to a runtime dependency;
    the public types stay free of @types/ws.

  • cc370f8: Add filesystem metadata operations to box.files:

    • stat(path, { follow }) — type (file/directory/symlink/other), size, mtime,
      inode, and an opaque version token for optimistic-concurrency guards.
      Defaults to lstat; follow: true dereferences a final symlink.
    • mkdir(path, { parents }), rename(from, to), remove(path, { recursive }).
    • read(path, { offset, length }) — bounded byte-range read, so a large file can
      be sliced instead of pulled whole.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 5b2b0a4 to cd10fee Compare August 24, 2026 13:07
@alitariksahin
alitariksahin merged commit cc255ea into main Aug 24, 2026
2 of 3 checks passed
@alitariksahin
alitariksahin deleted the changeset-release/main branch August 24, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant